package cn.com.gof.behavior.strategy;

/**
 * <p>Title: Content</p>  
 * <p>Description: </p>  
 * @author WangJun
 * @date 2018年9月10日 下午1:39:24
 */
public class Content {
	private Strategy strategy;

	public Content(Strategy strategy) {
		super();
		this.strategy = strategy;
	}
	
	public double getPrice(double s) {
		return strategy.discountPrice(s);
	}
}
